<?php
/**
 *
 * @author jigal
 *
 */
class EventManager_Resource_User_Item extends SF_Model_Resource_Db_Table_Row_Abstract
implements EventManager_Resource_User_Item_Interface, Zend_Acl_Role_Interface{

	/**
	 * (non-PHPdoc)
	 * @see modules/eventManager/models/resources/User/Item/EventManager_Resource_User_Item_Interface#getFullname()
	 */
	public function getFullname(){
		return $this->getRow()->usr_title. ' ' . $this->getRow()->usr_firstname. ' '. $this->getRowlastname;
	}
	/**
	 * (non-PHPdoc)
	 * @see Acl/Role/Zend_Acl_Role_Interface#getRoleId()
	 */
	public function getRoleId()
	{
		if (null === $this->getRow()->usr_role) {
			return 'Guest';
		}

		return $this->getRow()->usr_role;
	}



}